package com.hp.easyBuy.entity.DTO;

import com.hp.easyBuy.entity.TCart;

/*
    使用dto不用手动映射
 */
public class TCartDto extends TCart {
    private String goodsimg;
    private String goodsname;
    private double goodsprice;

    public String getGoodsimg() {
        return goodsimg;
    }

    public void setGoodsimg(String goodsimg) {
        this.goodsimg = goodsimg;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public double getGoodsprice() {
        return goodsprice;
    }

    public void setGoodsprice(double goodsprice) {
        this.goodsprice = goodsprice;
    }

    @Override
    public String toString() {
        return "TCartDto{" +
                "goodsimg='" + goodsimg + '\'' +
                ", goodsname='" + goodsname + '\'' +
                ", goodsprice=" + goodsprice +
                '}';
    }
}
